.PHONY:all
all:client_cal server_cal

lib = jsoncpp

server_cal:server_cal.cc
	g++ -o $@ $^ -DJSON -l$(lib)
client_cal:client_cal.cc
	g++ -o $@ $^ -DJSON -l$(lib)

 .PHONY:clean
 clean:
	rm -f server_cal client_cal